That post-dinner sweet treat might be keeping your reart rate high and your brain alert. Here's how sugar affects sleep--and how to manage it.